package com.study.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 条件查询订单评价请求参数
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommentDTO implements Serializable {
    //用户id
    private Long userId;
    //活动id
    private Long activityId;
    //订单id
    private Long orderId;
    //评论时间
    private LocalDateTime createTime;
    //排序规则 0默认主键 1根据排序字段
    private Integer orderBy;
}
